package com.yufubao.service.service.applet.product;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yufubao.framework.result.PageUtils;
import com.yufubao.framework.result.ResponseResult;
import com.yufubao.model.pojo.applet.product.SupplierInfoEntity;
import com.yufubao.model.vo.management.check.SearchAllStatusInfoVo;

import java.util.Map;

/**
 * 商户申请表
 *
 * @author zhangzhan
 * @email 52194440@qq.com
 * @date 2024-08-26 21:11:22
 */
public interface SupplierInfoService extends IService<SupplierInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * @description 商户修改营业状态
     * @param supplierInfoId
     * @return com.yufubao.framework.enums.CommonExceptionEnum
     * @author zhangyiheng
     * @date 2024/9/3 22:07
     */
    ResponseResult updateHolidayState(Long supplierInfoId, String holidayState);

    /**
     * @description 商户修改店基本信息（门照/封面）
     * @param supplierInfoId
     * @param shopFrontUrl
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/5 10:06
     */
    ResponseResult updateCover(Long supplierInfoId, String shopFrontUrl);

    /**
     * @description 商户删除店信息
     * @param supplierInfoId
     * @return com.yufubao.framework.result.ResponseResult
     * @author zhangyiheng
     * @date 2024/9/5 10:19
     */
    ResponseResult deleteInfo(Long supplierInfoId);

    PageUtils searchAllStatusInfo(Map<String, Object> params);

    SearchAllStatusInfoVo searchWaitPass(Long supplierInfoId);

    /**
     * @description 查询当前人员下小蜜蜂的商家信息
     * @param params
     * @return com.yufubao.framework.result.PageUtils
     * @author zhangyiheng
     * @date 2024/9/18 15:22
     */
    PageUtils pageList(Map<String, Object> params);
}

